package com.acmedcare.framework.exchange.center.entity.dto;

import com.acmedcare.framework.exchange.center.entity.bean.Task;
import com.acmedcare.framework.starter.bus.event.AcmedcareEvent;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Data;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonIgnoreProperties({"source"})
@Data
public class CommandEvent extends AcmedcareEvent {

  private TaskStatusEnum commandType;

  private Task task;
}